2007-06-27 Xan Lopez <xan@gnome.org>
* gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
* gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
Do not add border_width to the first button initial
coordinate, since it's already taken into account in
the allocation value. (#451484)
svn path=/trunk/; revision=18261
+2007-06-27 Xan Lopez <xan@gnome.org>
+
+ * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
+ * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
+
+ Do not add border_width to the first button initial
+ coordinate, since it's already taken into account in
+ the allocation value. (#451484)
+
2007-06-27 Michael Natterer <mitch@imendio.com>
Merged from maemo-gtk:
(allocation->width
- (child_width * (nvis_children - n_secondaries)
+ spacing * (nvis_children - n_secondaries - 1)))/2
- + (n_secondaries * child_width + n_secondaries * spacing)/2
- + GTK_CONTAINER (box)->border_width;
+ + (n_secondaries * child_width + n_secondaries * spacing)/2;
secondary_x = allocation->x + GTK_CONTAINER (box)->border_width;
break;
default:
(allocation->height
- (child_height * (nvis_children - n_secondaries)
+ spacing * (nvis_children - n_secondaries - 1)))/2
- + (n_secondaries * child_height + n_secondaries * spacing)/2
- + GTK_CONTAINER (box)->border_width;
+ + (n_secondaries * child_height + n_secondaries * spacing)/2;
secondary_y = allocation->y + GTK_CONTAINER (box)->border_width;
break;
default: